#ifndef CCPU_H
#define CCPU_H

typedef  int Register;

class CCpu
{
public:
    void ALU(int r0_val, int r1_val);//算术逻辑单元

    Register add();//+
    Register sub();//-
    Register mul();//*
    Register div();//➗

private:
    Register R0;//输入1
    Register R1;//输入2
    Register R2;//输出
};

#endif // CCPU_H
